package com.thiswhyme.redis.subscribe;

import org.springframework.data.redis.connection.MessageListener;

/**
 * @description: redis消息监听器
 * @author: thiswhyme
 * @date: 2020/12/9
 */
public interface RedisSubscriber extends MessageListener {

    /**
     * 通道名称
     * @return
     */
    String getChannelName();
}
